class ParamsTypeError(Exception):
    pass
#斐波拉切数列
x,y=0,1
for  k in range(0,10):
    x,y=y,x+y
    print(x )

def int_(args):
    try:
        int_input=int(args)
        print('整数',int_input)
    except:
        int_input=args
        print(ParamsTypeError("Type error",int_input))

int_test = [1,'python',5,6,7,'people']
for args in  int_test:
    try:
        int_(args)
    except Exception as e:
        print(e)